package cn.wu.reggie.service;

import cn.wu.reggie.common.R;
import cn.wu.reggie.entity.Category;

public interface CategoryService {
    R findByPage(Integer pageNum, Integer pageSize);

    R save(Category category);

    R update(Category category);

    R delete(Long id);

    R findAllByType(Integer type);
}
